Skip to content

feat: separate subcomponents docs for mcp data#9820

Open
EldarMuhamethanov wants to merge 1 commit into
masterfrom
e.muhamethanov/add-components-pages-docs
Open

feat: separate subcomponents docs for mcp data#9820
EldarMuhamethanov wants to merge 1 commit into
masterfrom
e.muhamethanov/add-components-pages-docs

Conversation

@EldarMuhamethanov
Copy link
Copy Markdown
Contributor

  • Unit-тесты
  • e2e-тесты
  • Дизайн-ревью
  • Документация фичи
  • Release notes

Описание

У нас есть компоненты, документация которых находится внутри документации другого компонента(например Header и Footer внутри доки Group).Из-за этого парсер, собирающий данные для mcp сервера, не выделяет отдельно некоторые компоненты. PR вводит паттерн MDX-партиалов: общее содержимое раздела выносится в файл _partials/*.mdx, который импортируется как в исходную страницу (поведение документации не меняется), так и в новую standalone-страницу компонента.

Новое поведение будет полезно, что отдавать mdx страницу документации для компонента.

Release notes

@EldarMuhamethanov EldarMuhamethanov self-assigned this May 13, 2026
@EldarMuhamethanov EldarMuhamethanov requested a review from a team as a code owner May 13, 2026 08:51
@github-actions
Copy link
Copy Markdown
Contributor

✅ Изменений в собранных файлах нет

Commit f41a6e6

@github-actions
Copy link
Copy Markdown
Contributor

👀 Docs deployed

📦 Package ❌

yarn add @vkontakte/vkui@

Commit f41a6e6

@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.24%. Comparing base (b1c9021) to head (f41a6e6).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9820   +/-   ##
=======================================
  Coverage   95.24%   95.24%           
=======================================
  Files         449      449           
  Lines       12296    12296           
  Branches     4453     4453           
=======================================
  Hits        11711    11711           
  Misses        585      585           
Flag Coverage Δ
unittests 95.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@VKCOM VKCOM deleted a comment from inomdzhon May 14, 2026
@VKCOM VKCOM deleted a comment from inomdzhon May 14, 2026
@VKCOM VKCOM deleted a comment from inomdzhon May 14, 2026
@VKCOM VKCOM deleted a comment from inomdzhon May 14, 2026
@vkcom-publisher vkcom-publisher added the pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants